package com.itheima.pinda.DTO.entity.pojo.transportline;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 车次与车辆和司机关联表
 * </p>
 *
 * @author xy
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PdTransportTripsTruckDriver extends Model<PdTransportTripsTruckDriver> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 车辆id
     */
    private String truckId;

    /**
     * 车次id
     */
    private String transportTripsId;

    /**
     * 司机id
     */
    private String userId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
